package com.sayyi.demo.bean.copy.mapstruct;

import com.sayyi.demo.bean.domain.Dest;
import com.sayyi.demo.bean.domain.Source;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author xuchuang
 * date 2021/12/29 10:43 AM
 */
@Mapper
public interface SourceMapper {

    SourceMapper INSTANCE = Mappers.getMapper(SourceMapper.class);

    Dest sourceToDest(Source source);
}
